package com.solveit.aps.io.db;

import com.solveit.core.db2.query.DbEntityHelper;
import com.solveit.core.db2.query.builder.Query;

public class DBUtilInstance {
	protected DbEntityHelper helper;

	public DBUtilInstance(DbEntityHelper helper) {
		this.helper = helper;
	}

	public Query.Update update(Object obj, int... aliases) {
		return DBUtil.update(this.helper, obj, aliases);
	}

	public Query.Insert insert(Object obj) {
		return DBUtil.insert(this.helper, obj);
	}

	public void delete(Object obj) {
		DBUtil.delete(this.helper, obj);
	}
	
//	public void save(Object obj, int... aliases){
//		
//	}
}
